package cn.edu.scau.cmi.linzhanyi.composite;

import java.util.List;

public interface Component {


    void add(Component c);

    void remove(Component c);

    List<Component> get();

    String getNmae();

    void setNmae(String name);

    void addAll(Component... c);

    String say(String s);

    Component getParent();

    void setParent(Component parent);
}
